package com.dly.hope.repository;

import com.dly.hope.modle.ShowContent;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface ShowContentRepository extends JpaRepository<ShowContent, String> {

    Optional<ShowContent> findTopByIdAndDataStatus(String id, Integer status);
}
